// 用法:
// this.$store.state.age
// this.$store.commit("setAge", 3);

import Vue from 'vue'
import vuex from 'vuex'
import _state from './module/state'
import _mutations from './module/mutations'
Vue.use(vuex);

export const store = new vuex.Store({
	state: {
        ..._state
	},
	mutations: {
        ..._mutations
	}
})
